﻿using System;
using System.Xml.Serialization;

namespace PBO.Data.PokemonOnline
{
    /// <summary>
    /// PO Pokemon对象
    /// </summary>
    [Serializable]
    public class Pokemon
    {
        /// <summary>
        /// 昵称
        /// </summary>
        [XmlAttribute("Nickname")]
        public string Nickname { get; set; }

        /// <summary>
        /// 全国编号
        /// </summary>
        [XmlAttribute("Num")]
        public int Num { get; set; }

        /// <summary>
        /// 闪光
        /// </summary>
        [XmlAttribute("Shiny")]
        public int Shiny { get; set; }

        /// <summary>
        /// 特性
        /// </summary>
        [XmlAttribute("Ability")]
        public int Ability { get; set; }

        /// <summary>
        /// 世代
        /// </summary>
        [XmlAttribute("Gen")]
        public int Gen { get; set; }

        /// <summary>
        /// 道具
        /// </summary>
        [XmlAttribute("Item")]
        public int Item { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        [XmlAttribute("Gender")]
        public int Gender { get; set; }

        /// <summary>
        /// 世代
        /// </summary>
        [XmlAttribute("SubGen")]
        public int SubGen { get; set; }

        /// <summary>
        /// 亲密度
        /// </summary>
        [XmlAttribute("Hapiness")]
        public int Hapiness { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        [XmlAttribute("Lvl")]
        public int Lvl { get; set; }

        /// <summary>
        /// 性格
        /// </summary>
        [XmlAttribute("Nature")]
        public int Nature { get; set; }

        /// <summary>
        /// 形态
        /// </summary>
        [XmlAttribute("Forme")]
        public int Forme { get; set; }

        /// <summary>
        /// 技能
        /// </summary>
        [XmlElement("Move")]
        public int[] Move { get; set; }

        /// <summary>
        /// Iv
        /// </summary>
        [XmlElement("DV")]
        public int[] DV { get; set; }

        /// <summary>
        /// Ev
        /// </summary>
        [XmlElement("EV")]
        public int[] EV { get; set; }
    }
}